package com.exanple.data;

import java.util.ArrayList;
import java.util.List;

public class Messageinfo {
   private String sendname;
   private String recname;
   private String messcontent;
   private String sendtime;
   private String publickey;
   private String ip;
   public static List<Messageinfo> messlist=new ArrayList<Messageinfo>();
public Messageinfo(String sendname,String recname, String messcontent, String sendtime,String publickey,String ip) {
	super();
	this.sendname = sendname;
	this.recname=recname;
	this.messcontent = messcontent;
	this.sendtime = sendtime;
	this.publickey=publickey;
	this.ip=ip;
}
public String getRecname() {
	return recname;
}
public void setRecname(String recname) {
	this.recname = recname;
}
public String getIp() {
	return ip;
}
public void setIp(String ip) {
	this.ip = ip;
}
public String getPublickey() {
	return publickey;
}
public void setPublickey(String publickey) {
	this.publickey = publickey;
}
public String getSendname() {
	return sendname;
}
public void setSendname(String sendname) {
	this.sendname = sendname;
}
public String getMesscontent() {
	return messcontent;
}
public void setMesscontent(String messcontent) {
	this.messcontent = messcontent;
}
public String getSendtime() {
	return sendtime;
}
public void setSendtime(String sendtime) {
	this.sendtime = sendtime;
}
public static List<Messageinfo> getMesslist() {
	return messlist;
}
public static void setMesslist(List<Messageinfo> messlist) {
	Messageinfo.messlist = messlist;
} 
}
